<script type="text/javascript">
var successFun=function(res){
if(res.code==200){
	alert('更新成功！');
	document.location.reload();
}else{
	alert('出错了！');
}
}
$(document).ready(function() { 
	var updateOptions	= {dataType:'json',error:doError,success:doSuccess}
    $('#form').ajaxForm(updateOptions); 
}); 
</script>
<div class="content">
	<div class="simplebox grid740">
    	<div class="titleh">
        	<h3>SEO设置</h3>
        </div>
        <div class="body">
          <form id="form" action="{url('Setting','SaveSeo')}" method="post">
            <div class="st-form-line">	
            	<span class="st-labeltext">首页标题</span>	
            	<textarea class="st-forminput" name="indextitle" id="indextitle-input" style="width:300px" rows="3">{$info['indextitle']}</textarea>
                <div class="clear"></div>
                <div class="st-form-error" id="indextitle-info" etype="error-info"></div>
            	<div class="clear"></div>
            </div>
            <div class="st-form-line">	
            	<span class="st-labeltext">首页关键词</span>	
            	<textarea class="st-forminput" name="indexkeyword" id="indexkeyword-input" style="width:300px" rows="3">{$info['indexkeyword']}</textarea>
                <div class="clear"></div>
                <div class="st-form-error" id="indexkeyword-info" etype="error-info"></div>
            	<div class="clear"></div>
            </div>
            <div class="st-form-line">	
            	<span class="st-labeltext">首页描述</span>	
            	<textarea class="st-forminput" name="indexdescription" id="indexdescription-input" style="width:300px" rows="3">{$info['indexdescription']}</textarea>
                <div class="clear"></div>
                <div class="st-form-error" id="indexdescription-info" etype="error-info"></div>
            	<div class="clear"></div>
            </div>
            
            <div class="st-form-line">	
            	<span class="st-labeltext">列表页标题</span>	
            	<textarea class="st-forminput" name="listtitle" id="listtitle-input" style="width:300px" rows="3">{$info['listtitle']}</textarea>
                <div class="clear"></div>
                <div class="st-form-error" id="listtitle-info" etype="error-info"></div>
            	<div class="clear"></div>
            </div>
            <div class="st-form-line">	
            	<span class="st-labeltext">列表页关键词</span>	
            	<textarea class="st-forminput" name="listkeyword" id="listkeyword-input" style="width:300px" rows="3">{$info['listkeyword']}</textarea>
                <div class="clear"></div>
                <div class="st-form-error" id="listkeyword-info" etype="error-info"></div>
            	<div class="clear"></div>
            </div>
            <div class="st-form-line">	
            	<span class="st-labeltext">列表页描述</span>	
            	<textarea class="st-forminput" name="listdescription" id="listdescription-input" style="width:300px" rows="3">{$info['listdescription']}</textarea>
                <div class="clear"></div>
                <div class="st-form-error" id="listdescription-info" etype="error-info"></div>
            	<div class="clear"></div>
            </div>
            
            <div class="st-form-line">	
            	<span class="st-labeltext">详情页标题</span>	
            	<textarea class="st-forminput" name="detailtitle" id="detailtitle-input" style="width:300px" rows="3">{$info['detailtitle']}</textarea>
                <div class="clear"></div>
                <div class="st-form-error" id="detailtitle-info" etype="error-info"></div>
            	<div class="clear"></div>
            </div>
            <div class="st-form-line">	
            	<span class="st-labeltext">详情页关键词</span>	
            	<textarea class="st-forminput" name="detailkeyword" id="detailkeyword-input" style="width:300px" rows="3">{$info['detailkeyword']}</textarea>
                <div class="clear"></div>
                <div class="st-form-error" id="detailkeyword-info" etype="error-info"></div>
            	<div class="clear"></div>
            </div>
            <div class="st-form-line">	
            	<span class="st-labeltext">详情页描述</span>	
            	<textarea class="st-forminput" name="detaildescription" id="detaildescription-input" style="width:300px" rows="3">{$info['detaildescription']}</textarea>
                <div class="clear"></div>
                <div class="st-form-error" id="detaildescription-info" etype="error-info"></div>
            	<div class="clear"></div>
            </div>
            
            
            <div class="button-box">
           	  <input type="submit" class="st-button" value="确认">
           	  <input type="reset" class="st-clear" value="取消">
            </div>
          </form>
        </div>
    </div>
</div>